<?php
    //建立数据库连接
    include("../inc/dbconn.php");

    $Id = $_GET["Id"];
  
    $sql = "delete from division where Id=$Id";
    if ($conn->query($sql) === true){
        $data['code'] = 3000;
        $data['msg'] = '删除成功';
    }
    echo json_encode($data);
    
?>